package com.fas.system.service;

import com.fas.common.core.domain.entity.SysUser;
import com.fas.system.domain.FasWordOrder;
import com.fas.system.domain.vo.WordOrderVo;

import java.util.List;

public interface IFasWordOrderService {


    List<WordOrderVo> miniappIpqcCenterOrderList(Integer wordOrderStatus,Integer orderType,Integer userId);

    int saveFasWordOrder(FasWordOrder fasWordOrder);

    /**
     * 巡检员工单上报，在工单表生成一条空的
     * @param fasWordOrder
     */
    int insertNullData(FasWordOrder fasWordOrder);

    List<WordOrderVo> miniappManorder(Long deptId,Integer cooperationCompanyId);

    Object miniappManorderDetail(Integer wordOrderId,Integer type);

    int miniappManorderDetailResult(FasWordOrder fasWordOrder);

    List<WordOrderVo> miniappEngineerOrder(Integer userId,String startTime,String endTime,Integer cooperationCompanyId,Integer engineerResult);

    Object miniappEngineerOrderDetail(Integer wordOrderId, Integer type);

    int miniappEngineerOrderDetailResult(FasWordOrder fasWordOrder,Integer userId);

    List<SysUser> miniappEngineerList(String permanentResidence);

    List<WordOrderVo> miniappManCenterOrderList(Integer wordOrderStatus,Long deptId,Integer cooperationCompanyId);

    List<WordOrderVo> miniappEngineerCenterOrderList(Integer wordOrderStatus,Integer userId,Integer engineerResult,Integer cooperationCompanyId,Integer status,Long deptId);

}
